package com.bgrconsulting.stockorderentry.service.model;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class LegDetails {
	@PrimaryKey
	private String accountId;
	
	@Persistent
	private String masterAccount;
	
	@Persistent
	private int legNumber;
	
	@Persistent
	private SymbolInfo symbolInfo;
	
	@Persistent
	private String symbolDescription;
	
	@Persistent
	private String orderAction;
	
	@Persistent
	private int orderQuanity;
	
	@Persistent
	private int filledQuanity;
	
	@Persistent
	private Double executedPrice;
	
	@Persistent
	private Double estimatedCommision;
	
	@Persistent
	private Double estimatedFees;
	
	public LegDetails(String accountId, 
						String masterAccount,
						int legNumber, 
						SymbolInfo symbolInfo, 
						String symbolDescription, 
						String orderAction,
						int orderQuanity,
						int filledQuanity,
						Double executePrice,
						Double estimatedCommision,
						Double estimatedFees
						) {
		
	}
	
	public LegDetails() {
		
	}
	
	public void setMasterAccount(String masterAccount) {
		this.masterAccount = masterAccount;
	}
	
	public String getMasterAccount() {
		return this.masterAccount;
	}
	
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	
	public String getAccountId() {
		return this.accountId;
	}
	
	public void setLegNumber(int legNumber) {
		this.legNumber = legNumber;
	}
	
	public int getLegNumber() {
		return legNumber;
	}
	
	public void setSymbolInfo(SymbolInfo symbolInfo) {
		this.symbolInfo = symbolInfo;
	}
	
	public SymbolInfo getSymbolInfo() {
		return this.symbolInfo;
	}
	
	public void setSymbolDescription(String symbolDescription) {
		this.symbolDescription = symbolDescription;
	}
	
	public String getSymbolDescription() {
		return this.symbolDescription;
	}
	
	public void setOrderAction(String orderAction) {
		this.orderAction = orderAction;
	}
	
	public String getOrderAction() {
		return this.orderAction;
	}
	
	public void setOrderQuanity(int orderQuanity) {
		this.orderQuanity = orderQuanity;
	}
	
	public int getOrderQuanity() {
		return this.orderQuanity;
	}
	
	public void setFilledQuanity(int filledQuanity) {
		this.filledQuanity = filledQuanity;
	}
	
	public int getFilledQuanity() {
		return this.filledQuanity;
	}
	
	public void setExecutrPrice(Double executePrice) {
		this.executedPrice = executePrice;
	}
	
	public Double getExecutePrice() {
		return this.executedPrice;
	}
	
	public void setEstimatedCommision(Double estimatedCommision) {
		this.estimatedCommision = estimatedCommision;
	}
	
	public Double getEstimatedCommision() {
		return this.estimatedCommision;
	}
	
	public void setEstimatedFees(Double estimatedFees) {
		this.estimatedFees = estimatedFees;
	}
	
	public Double getEstimatedFees() {
		return this.estimatedFees;
	}
}
